// 党建公告 - 需要权限控制的菜单
const noticeJurisdictionRoutes = [
  {
    path: '/notice',
    name: 'notice',
    redirect: '/notice/list'
  },
  {
    path: '/notice/list',
    name: 'notice-list',
    meta: {
      title: '党建公告'
    },
    component: () => import('@/views/Notice/list')
  }
]

// 党建公告 - 不需要权限控制的菜单
const noticeWhiteRoutes = [
  {
    path: '/notice/detail',
    name: 'notice-detail',
    meta: {
      title: '党建公告详情'
    },
    component: () => import('@/views/Notice/detail')
  }
]

// 党建公告 - 菜单
const noticeRoutes = [...noticeJurisdictionRoutes, ...noticeWhiteRoutes]

export { noticeJurisdictionRoutes, noticeWhiteRoutes, noticeRoutes }
